﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RapidTestMapMaker
{
    public static class Common
    {
        public static int plusMod(int A, int Mod)
        {
            int result = A % Mod;
            return result < 0 ? result + Mod : result;
        }
    }
}
